<template>
  <div>
    <h3>childOne</h3>

    <!-- son one 子组件标签 -->
    <son-one>
      <h1>{{ msg }}</h1>
      <h2>一定要注意身体健康</h2>
    </son-one>
  </div>
</template>

<script>
import SonOne from "@/components/SonOne";
export default {
  data() {
    return {
      msg: "涵涵昨天晚上学习学到3点",
    };
  },
  components: { SonOne },
};
</script>

<style lang="scss" scoped>
</style>